home *** CD-ROM | disk | FTP | other *** search
- ; A General Installation Script
- ; Copyright © 1998 by Ralph Torchia
- ; $VER:GenInstallScript v1.0 (09.13.98)
-
- (set #PRGVersion "1.0")
-
- (welcome
- ("\nWelcome!\n\n")
- (" This script will copy the new navigation bar\nto the appropriate Ibrowse directory.\n")
- (" Please follow the intaller's instruction to install\nThe installation WILL make a back-up of the old navigation bar.\n\n")
- )
-
- (set #homedir "Work:Ibrowse/")
-
- (if (= (exists #homedir (noreq)) 0)
- (
- (set #homedir
- (askdir
- (prompt "Where is the IBrowse program located?")
- (help " Please locate the IBrowse directory. (The main program IBrowse is located within it).")
- (default #homedir)
- )
- )
- )
- )
-
- (set #default-dest (tackon #homedir "images"))
- (set #renamefile-old (tackon #homedir "images/def_navigation"))
- (set #renamefile-new (tackon #homedir "images/def_navigation_old"))
-
- (if (= (exists #renamefile-old (noreq)) 1)
- (
- (rename #renamefile-old #renamefile-new)
- (copyfiles
- (prompt "Copying new navigation bar to %s" #default-dest)
- (help @copyfiles-help)
- (source "images/def_navigation")
- (dest #default-dest)
- )
- )
- )
-
- (if (not (exists #renamefile-old (noreq)))
- ((abort "You did not locate the IBrowse directory and program correctly!\nPlease try again...\n"))
- )
-
- (exit "Done installing your new IBrowse Navigation bar.\n\nRemember, this is Emailware!")
-